//package com.zlp.spring.one.service;
//
//import com.zlp.spring.one.annotation.Autowired;
//import com.zlp.spring.one.annotation.BeanNameAware;
//import com.zlp.spring.one.annotation.Component;
//import com.zlp.spring.one.annotation.InitializingBean;
//
//@Component("orderServiceTest")
////@Scope("prototype")
//public class OrderServiceTest implements BeanNameAware, InitializingBean {
//
//
//    @Autowired
//    private UserService userService;
//
//    private String beanName;
//
//    private String name;
//
//    public void test(){
//        System.out.println(userService);
//        System.out.println(name);
//    }
//
//
//    @Override
//    public void setBeanName(String beanName) {
//        this.beanName = beanName;
//    }
//
//    public void setName(String name) {
//
//        this.name = name;
//    }
//
//    @Override
//    public void afterPropertiesSet() throws Exception {
//        System.out.println("初始化...");
//    }
//}
